#ifndef CHANGEPERSONALINFO_H
#define CHANGEPERSONALINFO_H

#include "user.h"
#include <QDialog>
#include <QWidget>
#include <qtcpsocket.h>
#include <QHostAddress>
#include <QMessageBox>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QUdpSocket>
#include <QWebSocket>
#include <QCoreApplication>
#include <QtWebSockets/QtWebSockets>
#include <QDateTime>
#include <QDebug>

namespace Ui {
class changepersonalinfo;
}

class changepersonalinfo : public QDialog
{
    Q_OBJECT

public:
    explicit changepersonalinfo(QWidget *parent,user userSelf);
    ~changepersonalinfo();

private slots:


    void on_btn_change_clicked();
    void on_btn_return_clicked();
    void on_btn_cancel_clicked();

private:
    Ui::changepersonalinfo *ui;
    QTcpSocket *socket;
    QString ip;
    QString port;
    QNetworkAccessManager manager;
    user userSelf;
};

#endif // CHANGEPERSONALINFO_H
